/*
 * Main.java
 *
 * Created on November 24, 2006, 9:03 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.uilabs.server;

import java.net.URL;
import org.mortbay.jetty.Server;

/**
 *
 * @author Bill
 */
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
    }
    
    public void start() throws Exception{
        URL config = 
                getClass().getResource("/jetty.xml");
        
        Server server = new Server(config);
        server.start();
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
        Main main = new Main();
        main.start();
        
        
    }
    
}
